﻿using SelfMadeMillionaire.Core.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SelfMadeMillionaire.Web.Infrastructure.Formatters
{
	public static class ProductTypeFormatter
	{
		public static string GetProductTypeName(ProductType productType)
		{
			switch (productType)
			{
				case ProductType.SelfMadeMillionaire:
					return "Self Made Millionaire";
				case ProductType.MaggiesMoneyMountain:
					return "Maggie's Money Mountain";
				case ProductType.SelfMadeMillionaire | ProductType.MaggiesMoneyMountain:
					return "Both";
                case ProductType.BeginnersPortfolioOptions101:
                    return "Beginners Portfolio Options 101";
			}

			return "";
		}
	}
}
